package com.jml.集合类不安全问题;


import java.util.ArrayList;
import java.util.Collections;
import java.util.concurrent.CopyOnWriteArrayList;

/**
 * @author:jml
 * @date: 2019/4/29 11:24
 * @description：
 */
public class ContainerNotSafeDemo {

    public static void main(String[] args) {
        Collections.synchronizedList(new ArrayList<>());
        CopyOnWriteArrayList copyOnWriteArrayList = new CopyOnWriteArrayList();

    }
}
